﻿<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:Prolog.Workbench"
             x:Class="Prolog.Workbench.TraceComponent"
             Width="300" Height="300">
    <UserControl.CommandBindings>
        <CommandBinding Command="local:PrologCommands.ClearTrace" Executed="CommandClearTrace_Executed" CanExecute="CommandClearTrace_CanExecute" />
    </UserControl.CommandBindings>
    <DockPanel>
        <TextBox Text="Trace"
                 DockPanel.Dock="Top"
                 Background="{DynamicResource HeadingBrush}" FontWeight="Bold" />
        <TextBox Name="txtTrace" 
                 VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" TextWrapping="Wrap" AcceptsReturn="True"/>
    </DockPanel>
</UserControl>
